package my.design.enjoy;

/**
 * @author zp
 * @version 1.0
 * @description: 用户对象 享元模式的外部对象
 * @date 2022/10/16 15:15
 */
public class User {
    private String name;

    public User() {
    }

    public User(String name) {
        this.name = name;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
